package com.xiaocz.hblsubstitutedriving.model;

/**
 * Time:2019/7/4
 * Created by xiaocz
 * Describe
 */
public class Vip {

    /**
     * id : 3
     * timeunit : 月
     * timecount : 1
     * originalPrice : 0.01 原价
     * discountPrice : 0.0 折扣价格
     * currentPrice : 0.01 当前价格
     */

    private int id;
    private String timeunit;
    private int timecount;
    private double originalPrice;
    private double discountPrice;
    private double currentPrice;
    private int yujiestatus;//0不允许预借，1允许预借

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTimeunit() {
        return timeunit;
    }

    public void setTimeunit(String timeunit) {
        this.timeunit = timeunit;
    }

    public int getTimecount() {
        return timecount;
    }

    public void setTimecount(int timecount) {
        this.timecount = timecount;
    }

    public double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public double getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(double discountPrice) {
        this.discountPrice = discountPrice;
    }

    public double getCurrentPrice() {
        return currentPrice;
    }

    public void setCurrentPrice(double currentPrice) {
        this.currentPrice = currentPrice;
    }

    public int getYujiestatus() {
        return yujiestatus;
    }

    public void setYujiestatus(int yujiestatus) {
        this.yujiestatus = yujiestatus;
    }

    @Override
    public String toString() {
        return "Vip{" +
                "id=" + id +
                ", timeunit='" + timeunit + '\'' +
                ", timecount=" + timecount +
                ", originalPrice=" + originalPrice +
                ", discountPrice=" + discountPrice +
                ", currentPrice=" + currentPrice +
                ", yujiestatus=" + yujiestatus +
                '}';
    }
}
